package com.example.WebTask1.Service;

import com.example.WebTask1.Dao.UserDao;
import com.example.WebTask1.Dao.UserDaoImp;

public class UserService {
    public boolean userinfo(String name, String pwd) {
        UserDao userDao=new UserDaoImp();
        Boolean aBoolean = userDao.queryUserAndPwd(name, pwd);
        return aBoolean;
    }

}
